//
// Created by renyi on 16/6/17.
//

#include "Common.h"

void init_OpenSSL()
{
    if (!SSL_library_init())
    {
        fprintf(stderr, "** OpenSSL initialization failed!\n");
        exit(-1);
    }
    SSLeay_add_ssl_algorithms();
    SSL_load_error_strings();
}